package com.freight.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.freight.base.vo.AreaAddressVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class PlatQuotationRecordVo extends AreaAddressVo {

    @ApiModelProperty(value = "货主Id")
    private String companyName;

    @ApiModelProperty(value = "起始县区列表")
    private String beginAreaCode;

    @ApiModelProperty(value = "起始地址")
    private String beginAddress;

    @ApiModelProperty(value = "结束县区列表")
    private String endAreaCode;

    @ApiModelProperty(value = "结束地址")
    private String endAddress;

    @ApiModelProperty(value = "运费单价")
    private BigDecimal freightUnitPrice;

    @ApiModelProperty(value = "货源号")
    private String goodNo;

    @ApiModelProperty(value = "货物一级类型")
    private String goodType;

    @ApiModelProperty(value = "货物名称")
    private String goodSubType;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报价时间")
    private Date createTime;

    @ApiModelProperty(value = "运单Id")
    private Long orderId;

    @ApiModelProperty(value = "报价记录Id")
    private Long quotationRecordId;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "司机id")
    private String driverUserId;

    @ApiModelProperty(value = "车id")
    private String vehicleId;

    @ApiModelProperty(value = "车牌号码")
    private String vehicleNum;

    @ApiModelProperty(value = "装货时间")
    private String loadingTime;

    @ApiModelProperty(value = "重量")
    private Double transGoodWeight;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "运单来源 1自主抢单  2平台派单")
    private String orderSource;

    @ApiModelProperty(value = "状态 1已报价 2已委托 3已取消")
    private String driverState;

}
